package com.zzl.study.sharding.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author: zhangzl
 * @date: 2022/7/25 19:25
 * @version: 1.0
 * @description: 员工实体对象
 */
@TableName("t_employee")
@Data
public class Employee {

    /**
     * 主键ID
     */
    @TableId("id")
    private Long id;

    /**
     * 员工姓名
     */
    @TableField("name")
    private String name;

    /**
     * 员工编号
     */
    @TableField("employee_num")
    private String employeeNum;

}
